package com.musicdaze;

import java.awt.Color;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;

import com.musicdaze.graphics.CustomFrame;


public class Test {
	private static ItunesController controller;
	private static JFrame frame;
	private static JList list;
	public static void main(String args[]){
		Thread t = new Thread(new Runnable(){
			@Override
			public void run() {
//				Test.this.controller = new ItunesController();
//				List<TrackWrapper> names = new ArrayList<TrackWrapper>();
//				for (TrackWrapper track : controller.tracks){
//					names.add(track);
//				}
//				list = new JList(names.toArray());
//				JScrollPane scroll = new JScrollPane(list); 
//				frame = new JFrame();
//				frame.add(scroll);
//				frame.pack();
//				frame.setResizable(false);
//				frame.setLocationRelativeTo(null);
//				frame.setVisible(true);
				CustomFrame f = new CustomFrame("test");
				JPanel test = new JPanel();
				test.setOpaque(false);
				JLabel text = new JLabel("hi there mikey");
				text.setForeground(Color.white);
				test.add(text);
				f.getMain().add(test);
				f.pack();
				f.setLocationRelativeTo(null);
				f.setVisible(true);
			}});
		t.start();
	}
}
